﻿using SportsPlatform.BaseModels;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SportsPlatform.Model.SportBusiness
{
    /// <summary>
    /// 比赛项目场次表
    /// </summary>
    [Table("T_B_EventsSession")]
    public  class EventsSession : BaseModel
    {
        /// <summary>
        /// 比赛项目ID
        /// </summary>
        public Guid CompetitionProjectId { get; set; }

        /// <summary>
        /// 场次名称
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string MatchType { get; set; }

        /// <summary>
        /// 赛程（1：预赛，2：决赛）
        /// </summary>
        [Required]
        public int Race { get; set; }
    }
}
